package com;

import javax.xml.rpc.Call;
import org.apache.axis.client.Service;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

import aop.dao.UserDao;

import javax.xml.namespace.QName;

public class TestAop implements org.springframework.core.Ordered {

	public static void main(String[] args) throws Exception {
		
		ApplicationContext applicationContext=new FileSystemXmlApplicationContext("classpath:applicationContext.xml");
		
		UserDao userDao=  (UserDao) applicationContext.getBean("UserDao");
		userDao.saveUser();
		
		org.springframework.transaction.interceptor.TransactionProxyFactoryBean bean;
		
	}

	public int getOrder() {
		// TODO Auto-generated method stub
		return 0;
	}

}
